package buisness.local.hibernate.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "FANSUB")
public class Fansub implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Integer idFansub;
	private String etiqueta;
	private String nombre;
	private String url;
	private String feed;
	/**
	 * @return the idFansub
	 */
	@Id
	@GeneratedValue
	@Column(name = "ID_FANSUB", unique = true, nullable = false)
	public Integer getIdFansub() {
		return idFansub;
	}
	/**
	 * @param idFansub the idFansub to set
	 */
	public void setIdFansub(Integer idFansub) {
		this.idFansub = idFansub;
	}
	/**
	 * @return the etiqueta
	 */
	@Column(name = "ETIQUETA", nullable = false, length = 10)
	public String getEtiqueta() {
		return etiqueta;
	}
	/**
	 * @param etiqueta the etiqueta to set
	 */
	public void setEtiqueta(String etiqueta) {
		this.etiqueta = etiqueta;
	}
	/**
	 * @return the nombre
	 */
	@Column(name = "NOMBRE", nullable = false, length = 50)
	public String getNombre() {
		return nombre;
	}
	/**
	 * @param nombre the nombre to set
	 */
	public void setNombre(String nombre) {
		this.nombre = nombre;
	}
	/**
	 * @return the url
	 */
	@Column(name = "URL", nullable = false, length = 200)
	public String getUrl() {
		return url;
	}
	/**
	 * @param url the url to set
	 */
	public void setUrl(String url) {
		this.url = url;
	}
	/**
	 * @return the feed
	 */
	@Column(name = "FEED", nullable = false, length = 200)
	public String getFeed() {
		return feed;
	}
	/**
	 * @param feed the feed to set
	 */
	public void setFeed(String feed) {
		this.feed = feed;
	}
	

}
